package com.example.mapper.shiping;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.domain.shiping;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;

import java.util.List;
@Mapper
@Controller
public interface shipingQuery extends BaseMapper<shiping> {

    @Select("select * from video_table where category=${type}")
    public List<shiping> selectAll(int type);

    @Select("select * from video_table")
    public List<shiping> findAll();
}
